<template>
  <div class="find_lunBo">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(v,i) in newdata" :key="i">
        <img :src="v.imgsrc" alt="">
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  created(){
    this.$store.dispatch('getfind_lunBo',{url:"/data/dongTai/find_lunBo"})
  },
  computed:{
    newdata(){
      return this.$store.state.find_lunBo.data;
    }
  },
}
</script>

<style scoped>
.find_lunBo {
  width: 100%;
  height: 100%;
  /* background-color: rgb(236, 37, 37); */
  border-radius: 0.1rem;
  overflow: hidden;
}
.my-swipe{
  width: 100%;
  height: 100%;
}
.my-swipe img{
  width: 100%;
  height: 100%;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: #39a9ed;
}
</style>